package com.javabaas.server.novel_server.book.entity;

import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.List;

@Document(collection = "recommendBook")
@Entity
public class RecommendBook {

    @Id
    private String _id;
    private String bookId;
    private List<String> recommendBooks;


    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public List<String> getRecommendBooks() {
        return recommendBooks;
    }

    public void setRecommendBooks(List<String> recommendBooks) {
        this.recommendBooks = recommendBooks;
    }
}
